package com.txm.qqcommon;

import java.io.Serializable;

/*
* 封装传输内容
* */
public class Response implements Serializable {
    private static final long serialVersionUID = 1L;
    //仿api
    private String path;
    // 传送的内容
    private Object object;
    public Response(String path, Object object) {
        this.path = path;
        this.object = object;
    }

    public String getPath() {
        return path;
    }

    public Object getObject() {
        return object;
    }

    @Override
    public String toString() {
        return "Response{" +
                "path='" + path + '\'' +
                ", object=" + object +
                '}';
    }
}
